package com.ruoyi.question.domian;


/**
 * @author : ywb
 * @createdDate : 2020/9/21
 * @updatedDate
 */
public class Question {
    /**
     * 试卷标题
     */
    private String title;

    /**
     * 科目
     */
    private String subject;

    /**
     * 题号
     */
    private Integer number;
    /**
     * 问题
     */
    private String question;
    /**
     * 试题类型
     */
    private String questionType;
    /**
     * 正确答案
     */
    private String rightAnswer;

    /**
     * 解析
     */
    private String analysis;


    /**
     * 分数
     */
    private String score;

    /**
     * ABCDE选项
     */
    private String option;

    /**
     * 选项
     */
    private Options options;

    public Question() {
    }

    public Question(String title, String subject, Integer number, String question, String questionType, String rightAnswer, String analysis, String score, String option, Options options) {
        this.title = title;
        this.subject = subject;
        this.number = number;
        this.question = question;
        this.questionType = questionType;
        this.rightAnswer = rightAnswer;
        this.analysis = analysis;
        this.score = score;
        this.option = option;
        this.options = options;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public String getRightAnswer() {
        return rightAnswer;
    }

    public void setRightAnswer(String rightAnswer) {
        this.rightAnswer = rightAnswer;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public Options getOptions() {
        return options;
    }

    public void setOptions(Options options) {
        this.options = options;
    }

    @Override
    public String toString() {
        return "Question{" +
                "title='" + title + '\'' +
                ", subject='" + subject + '\'' +
                ", number=" + number +
                ", question='" + question + '\'' +
                ", questionType='" + questionType + '\'' +
                ", rightAnswer='" + rightAnswer + '\'' +
                ", analysis='" + analysis + '\'' +
                ", score='" + score + '\'' +
                ", option='" + option + '\'' +
                ", options=" + options +
                '}';
    }
}
